package com.team.mp.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色表(SysRole)表实体类
 *
 * @author makejava
 * @since 2023-03-27 16:31:29
 */
@Data
@TableName("sys_role")
public class SysRole{
    //id，主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //角色名
    private String roleName;
    public SysRole(String roleName) {
        this.roleName = roleName;
    }
}

